package com.storm.future.advisor;

/**
 * @author gu
 * @date 2020/5/15 11:48
 */
public class RepairInvoker implements Repair {

    private Object repair ;

    public RepairInvoker(Object repair) {
        this.repair = repair;
    }

    @Override
    public void repair() {
        String s = repair.toString() + "：执行了repair方法";
        System.out.println(s);
    }
}
